package com.example.admin.mapper;


import com.example.admin.entity.ActivityRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ActivityRecordMapper {


    List<ActivityRecord> selectActivityRecordPage();

    int addActivityRecord(@Param("activityRecord") ActivityRecord activityRecord);

    int editActivityRecord(@Param("activityRecord") ActivityRecord activityRecord);

    int deleteActivityRecordById(@Param("id") Integer id);

    List<ActivityRecord> selectActivityRecordById(@Param("elderId") Integer elderId);
}
